<div class="col-md-10 col-md-offset-1">
<?php
/* display message saved in session if any */
echo $this->Session->flash();
foreach ($this->Session->read('userlist') as $singleUser){ ?>
	<div class="col-md-3 img-thumbnail form-group">
		<h1><span class="glyphicon glyphicon-user"></span><?PHP echo $singleUser['User']['username']; ?></h1>
		<hr />
		<div class="form-group">
			<span class="label label-default col-md-4">Vorname</span>
			<span class="col-xs-offset-1">
			<?PHP echo $singleUser['User']['firstname']; ?>
			</span>
		</div>
		<div class="form-group">
			<span class="label label-default col-md-4">Nachname</span>
			<span class="col-xs-offset-1">
			<?PHP echo $singleUser['User']['lastname']; ?>
			</span>
		</div>
		<hr />
		<ul class="nav nav-pills">
			<?PHP
				/* link Mitglieder */
				echo $this->Html->tag('li', $this->Html->link('Profil', array('controller' => 'users', 'action' => 'profil', $singleUser['User']['id']) , null));
			?>
		</ul>
	</div>
<?PHP
}
?>
</div>